﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Collab.Services.Remote.Entities
{
    [DataContract(Namespace = "http://collab.codeplex.com/2010/10/Schemas")]
    public class Solution
    {
        [DataMember(Order = 1, IsRequired = true)]
        public string Name { get; set; }
        [DataMember(Order = 2, IsRequired = true)]
        public List<ProjectItem> Children{ get; set; }

        public string SolutionPath { get; set; }

        public Solution()
        {
            Children = new List<ProjectItem>();
        }

    }
}
